/****************************************************
          File Name:60-1.c
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Sun 05 Oct 2014 10:11:31 AM CST
*****************************************************/

/* add the following codes to 'is_echo_sv.c' */

#include<sys/resource.h>

struct rlimit lim;

lim.rlim_cur=10;    /* soft limit */
lim.rlim_max=10;    /* hard limit */

setrlimit(RLIMIT_NPROC,&lim);
// error handler 
